

// 设置本地储存
const storeEP = {
    state: {
        user_account: localStorage.getItem("USER_ACCOUNT") || null,
        token: localStorage.getItem("TOKEN") || null,
        login: localStorage.getItem("LOGIN") || false,
        pageCount: null,
    }
}

storeEP.setStore = (key, value) => {
    localStorage.setItem(key, value)
}
storeEP.getStore = (key) => {
    localStorage.getItem(key)
}
storeEP.remStore = (key) => {
    localStorage.removeItem(key)
}
storeEP.cleStore = () => {
    localStroge.clear();
}

export { storeEP }